package com.xinghanlaser.applet.base.common.constant;

/**
 * @author dym
 * @date 2019-10-30 9:32
 */
public class OAuth2Constant {
    public static final String AUTHORIZATION_HEADER = "Authorization";

    public static final String CLIENT_ID = "client_id";

    public static final String CLIENT_SECRET = "client_secret";

    // 客户端token前缀
    public static final String BASIC = "Basic ";

    // 接口token前缀
    public static final String BEARER = "Bearer ";

    public static final String SWAGGER_DEFECT_TOKEN = "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX25hbWUiOiJhZG1pbiIsImF1dGhvcml0aWVzIjpbIlJPTEVfc3VwZXJfYWRtaW4iXSwianRpIjoiYzk5YTNmOWItMTk1MS00NjI5LWE4MjUtMzg4MzJhMTFiNWM3IiwiY2xpZW50X2lkIjoicGVybWFuZW50X2NsaWVudCIsInNjb3BlIjpbXX0.904fy4NIFSQ2TwkrfJWxG6sXCA4k43bsUeBNiUry9dY";
}
